package com.qiantu.api.entity;

import java.util.List;
import java.util.Map;

public class DeviceBindingData {
    private String key;
    private String name;
    private int bingingType;
    private String unit;
    private int actionType;
    private int min;
    private int max;
    private int step;
    private List<Data> data;

    public void setKey(String key) {
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setBingingType(int bingingType) {
        this.bingingType = bingingType;
    }

    public int getBingingType() {
        return bingingType;
    }

    public void setActionType(int actionType) {
        this.actionType = actionType;
    }

    public int getActionType() {
        return actionType;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public List<Data> getData() {
        return data;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }

    public int getStep() {
        return step;
    }

    public void setStep(int step) {
        this.step = step;
    }

    public static class Data {


        private String name;
        private int value;
        private Map<String,Integer> otherValue;
        private int bindActionType;

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }

        public Map<String, Integer> getOtherValue() {
            return otherValue;
        }

        public void setOtherValue(Map<String, Integer> otherValue) {
            this.otherValue = otherValue;
        }

        public void setBindActionType(int bindActionType) {
            this.bindActionType = bindActionType;
        }

        public int getBindActionType() {
            return bindActionType;
        }

    }

}

